/****************************************************************************
** Meta object code from reading C++ file 'wdet.h'
**
** Created: Mon Dec 18 07:36:34 2006
**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "thread/wdet.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'wdet.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.2.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

static const uint qt_meta_data_pDetector[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      23,   11,   10,   10, 0x05,
      56,   52,   10,   10, 0x05,

 // slots: signature, parameters, type, tag, flags
      73,   10,   10,   10, 0x0a,
     105,   96,   10,   10, 0x0a,
     145,  138,   10,   10, 0x0a,
     187,  173,   10,   10, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_pDetector[] = {
    "pDetector\0\0curve,index\0newTankId(QwtPlotCurve*,int)\0sId\0"
    "changedTank(int)\0setCanvasColor(QColor)\0statList\0"
    "paintDetector(vector<tStation>*)\0sId,lt\0externalTankSelect(int,eLT)\0"
    "curveId,index\0selectTank(int,int)\0"
};

const QMetaObject pDetector::staticMetaObject = {
    { &QwtPlot::staticMetaObject, qt_meta_stringdata_pDetector,
      qt_meta_data_pDetector, 0 }
};

const QMetaObject *pDetector::metaObject() const
{
    return &staticMetaObject;
}

void *pDetector::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_pDetector))
	return static_cast<void*>(const_cast<pDetector*>(this));
    return QwtPlot::qt_metacast(_clname);
}

int pDetector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QwtPlot::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: newTankId((*reinterpret_cast< QwtPlotCurve*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: changedTank((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: setCanvasColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 3: paintDetector((*reinterpret_cast< vector<tStation>*(*)>(_a[1]))); break;
        case 4: externalTankSelect((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< eLT(*)>(_a[2]))); break;
        case 5: selectTank((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        }
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void pDetector::newTankId(QwtPlotCurve * _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void pDetector::changedTank(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
static const uint qt_meta_data_wDet[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      15,    6,    5,    5, 0x05,
      55,   48,    5,    5, 0x05,
      87,   83,    5,    5, 0x05,
     104,    5,    5,    5, 0x05,

 // slots: signature, parameters, type, tag, flags
     119,    6,    5,    5, 0x0a,
     150,   48,    5,    5, 0x0a,
     176,  170,    5,    5, 0x08,
     194,  170,    5,    5, 0x08,
     212,  170,    5,    5, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_wDet[] = {
    "wDet\0\0statList\0paintDetector(vector<tStation>*)\0sId,lt\0"
    "externalTankSelect(int,eLT)\0sId\0changedTank(int)\0closedWindow()\0"
    "newDetector(vector<tStation>*)\0tankSelect(int,eLT)\0value\0"
    "moveHPlot(double)\0moveVPlot(double)\0rescalePlot(int)\0"
};

const QMetaObject wDet::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_wDet,
      qt_meta_data_wDet, 0 }
};

const QMetaObject *wDet::metaObject() const
{
    return &staticMetaObject;
}

void *wDet::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_wDet))
	return static_cast<void*>(const_cast<wDet*>(this));
    return QWidget::qt_metacast(_clname);
}

int wDet::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: paintDetector((*reinterpret_cast< vector<tStation>*(*)>(_a[1]))); break;
        case 1: externalTankSelect((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< eLT(*)>(_a[2]))); break;
        case 2: changedTank((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: closedWindow(); break;
        case 4: newDetector((*reinterpret_cast< vector<tStation>*(*)>(_a[1]))); break;
        case 5: tankSelect((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< eLT(*)>(_a[2]))); break;
        case 6: moveHPlot((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: moveVPlot((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: rescalePlot((*reinterpret_cast< int(*)>(_a[1]))); break;
        }
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void wDet::paintDetector(vector<tStation> * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void wDet::externalTankSelect(int _t1, eLT _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void wDet::changedTank(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void wDet::closedWindow()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}
